package com.kaibes.module.user.safe;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

@Data
@Description("电子邮箱")
public class UserEmail {

    @Description("电子邮箱")
    @Email(message = "电子邮箱格式不正确")
    @NotBlank(message = "电子邮箱不能为空")
    private String email;
    
}
